import request from '@/utils/request'


export function getList(query) {
  return request({
    url: '/api/point_keyword/list',
    method: 'get',
    params: query
  })
}

export function create(data) {
  return request({
    url: '/api/point_keyword/create',
    method: 'post',
    data
  })
}

export function update(data) {
  return request({
    url: '/api/point_keyword/create',
    method: 'post',
    data
  })
}

export function del(data) {
  return request({
    url: '/api/point_keyword/del',
    method: 'get',
    params: {
      id: data
    }
  })
}
